package com.bjpowernode.asimple;

/*
    使用简单工厂
 */
public class TestSimple {
    public static void main(String[] args) {
        //需要12promax的对象
        Iphone iphone12ProMax = IphoneFactory.produce("iphone12ProMax");
        iphone12ProMax.play();
    }
}
